package com.example.demo.service;

import com.example.demo.bean.PhotoTooLargeException;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;

public interface PhotoService  {

    void upload(String key,File file) throws IOException, PhotoTooLargeException;


    void delete(String key);


    String getUrl(String key);
}
